package com.aldobucchi.ds.op
{
	import com.aldobucchi.ds.container.IRContainer;
	import com.aldobucchi.ds.container.bag.IWBag;



	public class ContainerFieldProjectionOp extends ContainerMappingOp
	{

		
		private var iFieldName:*;


		public function ContainerFieldProjectionOp(iContainer:IRContainer, oBag:IWBag, iFieldName:* )
		{

			this.iFieldName = iFieldName;

			super( iContainer, oBag, map );
		
		}
		
		
		
		private function map( e:* ):*
		{
	
			try{
				
				return e[ iFieldName ];
			
			}catch(e:Error){ }
	
		}
		
		
	}
	
}